package com.ruibang.glass.portal.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruibang.glass.portal.entity.NewMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2023-10-18  16:28
 * @Description: TODO
 * @Version: 1.0
 */
public interface NewMenuMapper extends BaseMapper<NewMenu> {
    List<NewMenu> getTreeByUserId(@Param("userId") String userId);

    List<String> getMenuByRoleId(@Param("roleId") String roleId);
}
